package com.cn.ant.modules.score.entity;

import org.hibernate.validator.constraints.Length;

import com.cn.ant.common.persistence.MyDataEntity;

/**
 * 学校录取概率Entity
 * @author 黄根华
 * @version 2015-10-11
 */
public class SchoolLqRate extends MyDataEntity<SchoolLqRate> {
	
	private static final long serialVersionUID = 1L;
	private String province;		// province
	private String schoolCode;		// school_code
	private String schoolCodeSn;	//school_Code_Sn
	private String schoolName;
	private String batchLevel;		// batch_level
	private String kemuType;		// kemu_type
	private Integer score;		// score
	private Double rate;		// rate
	private Integer year;		// year

	private String provinceName;
	
	public SchoolLqRate() {
		super();
	}

	public SchoolLqRate(String id){
		super(id);
	}

	@Length(min=0, max=32, message="province长度必须介于 0 和 32 之间")
	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}
	
	@Length(min=0, max=20, message="school_code长度必须介于 0 和 20 之间")
	public String getSchoolCode() {
		return schoolCode;
	}

	public void setSchoolCode(String schoolCode) {
		this.schoolCode = schoolCode;
	}

	public String getSchoolCodeSn() {
		return schoolCodeSn;
	}

	public void setSchoolCodeSn(String schoolCodeSn) {
		this.schoolCodeSn = schoolCodeSn;
	}

	@Length(min=0, max=20, message="batch_level长度必须介于 0 和 20 之间")
	public String getBatchLevel() {
		return batchLevel;
	}

	public void setBatchLevel(String batchLevel) {
		this.batchLevel = batchLevel;
	}
	
	@Length(min=0, max=20, message="kemu_type长度必须介于 0 和 20 之间")
	public String getKemuType() {
		return kemuType;
	}

	public void setKemuType(String kemuType) {
		this.kemuType = kemuType;
	}
	
	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}
	
	public Double getRate() {
		return rate;
	}

	public void setRate(Double rate) {
		this.rate = rate;
	}
	
	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
}